# -*- encoding:utf-8 -*-
'''
	testmoviedao.py
	======================
	@descript: 
	@copyright:chinasoft
	@author:gch
	@date: 2021-01-27 19:14
	@version:v1.0
'''
import unittest
from dao.moviedao import Moviedao
from entity.movieentity import MovieEntity

class MovieDaoTest(unittest.TestCase):
    def testInsertTable(self):
        var_MovieDao=Moviedao()
        var_MovieEntity=MovieEntity(None,'GCH','GCH200','2020:10','GCH')
        var_result = var_MovieDao.insertTable(var_MovieEntity)
        print(var_result)
        pass
    def testSelectTable(self):
        var_MovieDao=Moviedao()
        var_result=var_MovieDao.selectTable()
        print(var_result)
        pass
    pass